.class Les/yn$c;
.super Landroid/content/BroadcastReceiver;
.source "FileNotificationBarManager.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/yn;->g()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/yn;


# direct methods
.method constructor <init>(Les/yn;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/yn$c;->a:Les/yn;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 7

    const-string v0, "newfile_noti_click"

    const-string v1, "text"

    const-string v2, "style"

    const-string v3, "type"

    .line 1
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v4

    if-nez v4, :cond_0

    return-void

    :cond_0
    const/4 v5, -0x1

    const-string v6, "notification_id"

    .line 2
    invoke-virtual {p2, v6, v5}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v5

    const-string v6, "com.estrongs.android.pop.newfile.notification.cancelordel.action"

    .line 3
    invoke-virtual {v4, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_1

    .line 4
    iget-object p1, p0, Les/yn$c;->a:Les/yn;

    invoke-static {p1}, Les/yn;->d(Les/yn;)Les/mo;

    move-result-object p1

    if-eqz p1, :cond_3

    iget-object p1, p0, Les/yn$c;->a:Les/yn;

    invoke-static {p1}, Les/yn;->d(Les/yn;)Les/mo;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/ui/notification/c;->d()Z

    move-result p1

    if-nez p1, :cond_3

    iget-object p1, p0, Les/yn$c;->a:Les/yn;

    .line 5
    invoke-static {p1}, Les/yn;->d(Les/yn;)Les/mo;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/ui/notification/c;->b()I

    move-result p1

    if-ne p1, v5, :cond_3

    .line 6
    iget-object p1, p0, Les/yn$c;->a:Les/yn;

    invoke-static {p1}, Les/yn;->d(Les/yn;)Les/mo;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/ui/notification/c;->a()V

    goto/16 :goto_0

    :cond_1
    const-string v6, "com.estrongs.android.pop.newfile.notification.click.action"

    .line 7
    invoke-virtual {v4, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_3

    .line 8
    iget-object v4, p0, Les/yn$c;->a:Les/yn;

    invoke-static {v4}, Les/yn;->d(Les/yn;)Les/mo;

    move-result-object v4

    if-eqz v4, :cond_2

    iget-object v4, p0, Les/yn$c;->a:Les/yn;

    invoke-static {v4}, Les/yn;->d(Les/yn;)Les/mo;

    move-result-object v4

    invoke-virtual {v4}, Lcom/estrongs/android/ui/notification/c;->d()Z

    move-result v4

    if-nez v4, :cond_2

    iget-object v4, p0, Les/yn$c;->a:Les/yn;

    .line 9
    invoke-static {v4}, Les/yn;->d(Les/yn;)Les/mo;

    move-result-object v4

    invoke-virtual {v4}, Lcom/estrongs/android/ui/notification/c;->b()I

    move-result v4

    if-ne v4, v5, :cond_2

    .line 10
    iget-object v4, p0, Les/yn$c;->a:Les/yn;

    invoke-static {v4}, Les/yn;->d(Les/yn;)Les/mo;

    move-result-object v4

    invoke-virtual {v4}, Lcom/estrongs/android/ui/notification/c;->a()V

    .line 11
    :cond_2
    invoke-static {}, Lcom/estrongs/android/biz/cards/cardfactory/h;->b()Lcom/estrongs/android/biz/cards/cardfactory/h;

    move-result-object v4

    const-string v5, "lib_log"

    invoke-virtual {v4, v5}, Lcom/estrongs/android/biz/cards/cardfactory/h;->a(Ljava/lang/String;)V

    .line 12
    iget-object v4, p0, Les/yn$c;->a:Les/yn;

    invoke-static {v4}, Les/yn;->e(Les/yn;)Landroid/content/Intent;

    move-result-object v4

    .line 13
    invoke-virtual {p1, v4}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    .line 14
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    const-string v4, "act2"

    invoke-virtual {p1, v4}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;)V

    .line 15
    :try_start_0
    new-instance p1, Lorg/json/JSONObject;

    invoke-direct {p1}, Lorg/json/JSONObject;-><init>()V

    const-string v4, "eventValue"

    const-string v5, "click"

    .line 16
    invoke-virtual {p1, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 17
    invoke-virtual {p2, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {p1, v2, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 18
    invoke-virtual {p2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {p1, v3, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const/4 v4, 0x0

    .line 19
    invoke-virtual {p2, v1, v4}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v5

    invoke-virtual {p1, v1, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    .line 20
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object v5

    .line 21
    invoke-virtual {v5, v0, p1}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Lorg/json/JSONObject;)V

    .line 22
    invoke-static {}, Les/p00;->c()Les/p00;

    move-result-object p1

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    .line 23
    invoke-virtual {p2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v6, "/"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v6, "path"

    invoke-virtual {p2, v6}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    const/4 v6, 0x1

    .line 24
    invoke-virtual {p1, v0, v5, v6}, Les/p00;->a(Ljava/lang/String;Ljava/lang/String;Z)V

    const-string p1, "notificationreport"

    .line 25
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "click style:"

    invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p2, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, " type:"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 26
    invoke-virtual {p2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, " text:"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 27
    invoke-virtual {p2, v1, v4}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result p2

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p2

    .line 28
    invoke-static {p1, p2}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 29
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_3
    :goto_0
    return-void
.end method
